* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  font-family: "poppins", sans-serif;
}

body {
  overflow-x: hidden;
}
nav.nav-fixed {
  position: fixed;
  background-color: #000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

nav.nav-fixed .navLink {
  color: #fff;
}

nav.nav-fixed .res-icon {
  background-color: #000;
}

nav {
  padding: 0 30px;
  /* background-color: rgba(0, 0, 0, 0.6); */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  position: absolute;
  z-index: 99;
  transition: all 1s ease-in;
  /* padding: 0 40px; */
  /* border: 1px solid red; */
  /* top: 0; */
}

.navList {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.navList span {
  background-color: #000;
  height: 20px;
  width: 2px;
  z-index: 20;
}

.navLink {
  font-weight: 600;
  color: #fff;
}

nav .social-icon {
  display: none;
}

.res-icon {
  display: none;
}

.logo {
  z-index: 1000;
}

.scanner {
  display: none;
  width: 200px;
}

@media screen and (max-width: 992px) {
  .navList {
    /* display: none; */
    position: fixed;
    right: 0;
    flex-direction: column;
    top: -100vh;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transition: top 0.5s ease-in-out;
  }

  .res-icon {
    display: block;
    z-index: 99;
    cursor: pointer;
  }

  .line1,
  .line2,
  .line3 {
    width: 20px;
    height: 3px;
    background-color: #fff;
    transition: all 1s;
  }

  nav.nav-fixed .navLink {
    color: #fff;
  }

  .line1,
  .line2 {
    margin-bottom: 5px;
  }

  .bar-open .line2 {
    width: 30px;
    transition: all 1s ease;
  }

  .bar-open .line1 {
    transform: rotate(-45deg);
    width: 20px;
    transition: all 1s ease;
  }
  .bar-open .line3 {
    transform: rotate(45deg);
    width: 20px;
    transition: all 1s ease;
  }

  .res-nav {
    top: 0;
  }

  nav .social-icon,
  .scanner {
    display: flex;
  }
}

.header {
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  position: relative;
  /* background-color: rgba(0, 0, 0, 0.9); */
  z-index: 1;
}

.header-text {
  color: #fff;
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.header-text h1 {
  text-align: center;
  font-weight: 100;
  text-shadow: 1px 4px 16px rgba(0, 0, 0, 0.3);
}

.header-text h1 span {
  font-weight: 800;
}

.header-text > span {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-top: 30px;
}

.header-text ul {
  padding-left: 70px;
}

.header-text ul li {
  list-style-type: disc;
  font-weight: 600;
  line-height: 1.4;
  font-size: 18px;
}

.header-img.header-img-load {
  transform: translateX(0);
}

.header-bg-img {
  position: absolute;
  width: 100%;
  height: 87vh;
  background: url(./assets/Img/bg-header.jpg);
  background-size: cover;
  z-index: -1;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
}

.header-bg-img::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(135deg, #ed9a9a 0%, #ed9a9a 32%, #fac673 100%);
  opacity: 0.4;
}

.header-img img {
  width: 650px;
}

.preface {
  align-content: center;
  justify-content: center;
  display: grid;
  gap: 20px;
}

.preface h2 {
  text-align: center;
  font-size: 30px;
}

.preface-para {
  width: 650px;
}

.preface-para p {
  font-size: 20px;
  letter-spacing: 1px;
}

.preface-para p::first-letter {
  margin-left: 20px;
}

.preface-para p {
  margin-bottom: 10px;
}

.buy-btn {
  margin-top: 25px;
  padding: 10px 20px;
  background: #e21616;
  border-radius: 4px;
  color: #000;
  font-weight: 600;
  position: relative;
}

.buy-btn a {
  display: flex;
  text-align: center;
  color: #fff;
  font-size: 20px;
}

.buy-btn::after {
  content: "";
  width: 0%;
  height: 0%;
  background-color: #292e3536;
  position: absolute;
  transform: scale(0);
  transition: transform 0.6s ease, width 0.5s ease, height 0.5s ease;
  /* bottom:-56px;left: -136px; */
  bottom: 0;
  left: 0;
}

.buy-btn:hover::after {
  transform: scale(1);
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 360px) {
  nav .logo img {
    width: 220px !important;
  }

  .header-img img {
    width: 150px !important;
  }
}

@media screen and (max-width: 1024px) {
  .perchase-btn a img {
    width: 100px;
    height: auto;
  }

  nav .logo a img {
    width: 450px;
  }

  .certi-img {
    display: flex;
  }
  .certi-img img {
    width: 140px;
  }

  .header-text h1 {
    font-size: 18px;
  }

  .header-img img {
    width: 275px !important;
  }

  .header-text ul li {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  nav {
    padding: 0 10px;
  }

  .header {
    grid-template-columns: 1fr;
  }

  .header-text {
    order: 1;
  }

  .header-bg-img {
    height: 100%;
  }

  .header-text h1 {
    font-size: 14px !important;
    width: 300px;
  }

  .header-img img {
    width: 200px !important;
  }

  .certi-img {
    display: flex;
  }

  .certi-img img {
    width: 150px;
  }

  .header-text ul li {
    font-size: 10px;
  }

  .header-text ul {
    padding-left: 35px;
  }

  .buy-btn a img {
    width: 120px;
  }

  .perchase-btn a img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
  }

  .header-text > span {
    font-size: 12px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 1400px) {
  .header-text {
    width: 100%;
  }
  .header-text h1 {
    font-size: 25px;
  }

  .header-img img {
    width: 325px;
  }
}

@media screen and (max-width: 1400px) {
  .header-img img {
    width: 300px !important;
  }
}

.authors,
.forwards {
  /* height: 80vh; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  margin: 100px 0;
}

.author-person,
.forward-person {
  display: flex;
  justify-content: center;
  align-items: center;
  /* flex-direction: column; */
  gap: 20px;
}

.author,
.forward {
  width: 300px;
  text-align: center;
  transition: background-color 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.author:hover {
  /* background-color: red; */
  transform: scale(1.03);
}

.author {
  background-color: #ddd;
  padding: 15px;
  border-radius: 10px;
  height: 630px;
}

.authorImg {
  border-radius: 20px;
}

.author p,
.forwards h2 {
  text-align: center;
}

.author-name {
  font-size: 21px;
  margin-top: 20px;
}

.author-text {
  font-size: 15px;
}

.author-heading,
.forward-name {
  font-size: 23px;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 10px;
}

.forward {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  height: 400px;
}

.forward-heading,
.authors-heading {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form {
  background: burlywood;
  padding: 40px;
}

.form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.form form h2 {
  font-size: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 20px;
}

.form-group input,
.form-group textarea {
  width: 500px;
  height: 50px;
  outline: none;
  border-radius: 10px;
  border: 1px solid black;
  font-size: 20px;
  padding: 0px 10px;
}

#massage {
  height: 200px;
  padding: 10px;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 5px rgb(140, 0, 0);
}

.btn {
  padding: 10px 20px;
  background: green;
  color: #fff;
  border: none;
  border-radius: 5px;
  width: 500px;
  height: 45px;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 20px;
}

.offer-btn {
  padding: 20px;
  line-height: 1;
  font-size: 14px;
  font-weight: 600;
  background: red;
  color: #fff;
}

.price {
  position: relative;
  display: inline-block;
}

.price span {
  font-size: 35px;
}

.price::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 40px;
  left: 0;
  top: 25px;
  background-color: #000;
}

.combo {
  /* background: red; */
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}

.combo-text {
  font-size: 25px;
  font-weight: 800;
}

@media screen and (max-width: 768px) {
  .form-group input,
  .form-group textarea,
  .btn {
    width: 300px;
    height: 42px;
  }

  .form form h2 {
    font-size: 25px;
    text-align: center;
  }

  .books-heading h2,
  .forward-heading,
  .authors-heading {
    font-size: 25px !important;
  }

  nav .logo img {
    width: 350px;
  }
}

.footer {
  background-color: #0c021b;
  color: #fff;
  padding: 100px 100px;
}

.footer a {
  color: #fff;
  text-transform: capitalize;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  row-gap: 45px;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-icon {
  display: flex;
  gap: 20px;
  font-size: 20px;
}

.social-icon .icon {
  background-color: #fff;
  color: #000;
  height: 30px;
  width: 30px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-tail {
  display: flex;
  align-items: center;
  gap: 20px;
}

.combo-book {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  font-size: 20px;
  width: 500px;
  text-align: center;
}

.books {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.book-icons {
  display: flex;
  justify-content: space-between;
  display: flex;
  justify-content: space-between;
}

.book-icons a {
  background: #ffcd00;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.sale-books {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* margin: 100px 0; */
  gap: 20px;
}

.books-heading h2 {
  font-size: 40px;
}

.book-icons {
  display: flex;
  justify-content: space-between;
  display: flex;
  justify-content: space-between;
}

.header-img {
  transform: translateX(0);
  transition: transform 3s ease;
}

@media screen and (max-width: 992px) {
  .author-person,
  .forward-person,
  .sale-books {
    flex-direction: column;
  }

  .footer-tail {
    flex-direction: column-reverse;
    margin-top: 20px;
  }

  .footer-tail img {
    width: 200px;
  }

  .footer {
    padding: 50px 40px;
  }

  .about-author {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
  }

  .author-heading,
  .forward-name {
    text-align: left;
  }

  .author {
    width: 550px;
  }

  .books {
    flex-direction: column;
  }

  .combo-book {
    flex-direction: column;
  }
}

@media screen and (max-width: 550px) {
  .footer-container {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .copyright {
    width: 290px;
    font-size: 10px;
  }

  .header {
    flex-direction: column-reverse;
  }

  .author {
    width: 300px;
  }

  .about-author {
    flex-direction: row;
  }

  .about-author {
    flex-direction: column;
  }

  .row h4 {
    text-transform: capitalize;
  }

  .book a img {
    width: 250px;
  }

  .combo-book .combo img {
    width: 300px;
  }

  .footer {
    padding: 50px 10px;
  }
}

@media screen and (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
